<?php

namespace Plugins\ApiDoc;

use App\Util\TerminalOutput;
use Plugins\ApiDoc\Http\Admin\Controller\Admin\DocumentController;

class OnStart
{
    public static function run()
    {
        TerminalOutput::info("==========================Api Doc说明==========================");
        TerminalOutput::info("文档示例代码查看 ApiDoc/Controller/DemoController.php。");
        TerminalOutput::info("示例效果查看文档访问地址。");
        TerminalOutput::info("文档访问地址： " . sc_route([DocumentController::class, 'view']));
        TerminalOutput::info("===============================================================");
    }
}